import showBlog from './components/showBlog.vue'
import addBlog from './components/addBlog.vue'
import showOnePage from './components/showOnePage.vue'
import editBlog from './components/editBlog.vue'


export const  routes=[
  { path:'/',component:showBlog },
  { path:'/add',component:addBlog },
  { path:'/show/:id',component:showOnePage },
  { path:'/edit/:id',component:editBlog },
]